EMT Practice Test
1. Question Content...
Question5: Which option can not be used to keep secrets out of Terraform configuration files?
Question6: What advantage does an operations team that uses infrastructure as code have?
Question9: What is terraform refresh intended to detect?
Question12: What is the purpose of using the local-exec provisioner? (Select Two)
Question14: You cannot publish your own modules on the Terraform Registry.
Question19: Which task does teraform ini- not perform?
Question21: Terraform variable names are saved in the state file.
Question23: What does terrafom plan do ?
Question26: Which of the following is considered a Terraform plugin?
Question31: What does this code do?
Question32: What is the name assigned by Terraform to reference this resource?
Question34: How does Terraform handle working with so many providers?
Question37: What is the workflow for deploying new infrastructure with Terraform?
Question40: Which of the following is not a valid Terraform string function?
Question42: Which one is the right way to import a local module names consul?
Question43: One remote backend configuration always maps to a single remote workspace.
Question44: Which one of the following will run echo 0 and echo 1 on a newly created host?
Question45: Module version is required to reference a module on the Terraform Module Registry.
Question47: When using remote state, state is only ever held in memory when used by Terraform.
Question51: When TF_LOG_PATH is set, TF_LOG must be set in order for any logging to be enabled.
Question55: Resources in terraform can have same identifiers(Resource type + Block name).
Question58: The terraform.tfstate file always matches your currently built infrastructure.
Question60: Which of the following is not a valid Terraform collection type?
Question61: Given the Terraform configuration below, in which order will the resources be created?
Question68: Why should secrets not be hard coded into Terraform code? Choose two correct answers
Question71: Which of the below options is a valid interpolation syntax for retrieving a data source?
Question78: Which of the following is not true of Terraform providers?
Question83: Which backend does the Terraform CLI use by default?
Question88: Select all features which are exclusive to Terraform Enterprise. (Select Three)
Question93: You have to initialize a Terraform backend before it can be configured.
Question94: Where does the Terraform local backend store its state?
Question96: If a module uses a local variable, you can expose that value with a terraform output.
Question97: terraform refresh will update the state file?
Question99: The terraform state command can be used to ____
Question104: What does the command terraform fmt do?
Question109: Which of the following statements about local modules is incorrect:
Question111: If a Terraform creation-time provisioner fails, what will occur by default?
Question112: What features stops multiple admins from changing the Terraform state at the same time?
Question118: How is terraform import run?
Question124: What command should you run to display all workspaces for the current configuration?
Question130: Command terraform refresh will update state file?



